-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.6.3 (latest)
-
Code
-
Classes
- Replacer
Total Complexity |
87 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
514 |
Lines of code |
356 |
Logical lines of code |
209 |
Comment lines |
71 |
Methods |
18 |
Properties |
4 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
replace() |
B |
33 |
19 |
100 |
replaceContent() |
B |
38 |
20 |
72 |
findNearestSize() |
A |
49 |
9 |
30 |
handleMetaData() |
S |
45 |
6 |
42 |
doReplaceQuery() |
S |
49 |
5 |
30 |
change_key() |
S |
62 |
6 |
11 |
getFilesFromMetadata() |
S |
59 |
5 |
16 |
isJSON() |
S |
69 |
5 |
6 |
getRelativeURLS() |
S |
54 |
3 |
20 |
__construct() |
S |
82 |
1 |
3 |
loadFormats() |
S |
74 |
1 |
5 |
setTargetMeta() |
S |
81 |
1 |
3 |
setSourceMeta() |
S |
81 |
1 |
3 |
getTarget() |
S |
82 |
1 |
3 |
setTarget() |
S |
81 |
1 |
3 |
getSource() |
S |
82 |
1 |
3 |
setSource() |
S |
81 |
1 |
3 |
checkIncomplete() |
S |
79 |
1 |
3 |